/*class A{
    public void eat(){
        System.out.println("A正在吃饭");
    }
}

class B extends A{
    public void eat() {
        System.out.println("B");
    }
}

class C extends A{
    public void eat() {
        System.out.println("C");
    }
}*/

class A{
    //@Override
    public void func(){
        System.out.println("haha");
    }

    //@Overloading
    public void func(int a){
        System.out.println();
    }
}

/*class B extends A{
    @Override
    public void func(){
        System.out.println("hello");
    }

    public static void main(String[] args) {
        B b = new B();
        b.func();
    }
}*/

/*public class Test {
*//*    public static void main(String[] args) {
        A b = new B();
        A c = new C();
        b.eat();
        c.eat();
    }*//*
}*/
